<extend name="public@emptypage" />
<block name="content">
<div class="card">
	<div class="card-header card-header-primary">

				<ul class="nav nav-tabs" data-tabs="tabs">
			<li class="nav-item">
				<a class="nav-link active" href="{:url('AdminCategory/index')}">分类管理</a>
			</li>
			<li class="nav-item">
				<a class="nav-link" href="{:url('AdminCategory/add')}">添加分类</a>
			</li>
		</ul>
	</div>
	<div class="row">
		<div class="col-md-12">
			<div class="card-body">
			
					<form method="post" class="js-ajax-form" action="{:url('AdminCategory/listOrder')}">
						<div class="table-actions">
							<button type="submit" class="btn btn-primary btn-sm js-ajax-submit">{:lang('SORT')}</button>
						</div>
						<table class="table table-hover table-bordered table-list">
							<thead>
								<tr>
									<th width="50">排序</th>
									<th width="50">ID</th>
									<th>分类名称</th>
									<th>描述</th>
									<th width="180">操作</th>
								</tr>
							</thead>
							<tbody>
								{$category_tree}
							</tbody>
							<tfoot>
								<tr>
									<th width="50">排序</th>
									<th width="50">ID</th>
									<th>分类名称</th>
									<th>描述</th>
									<th width="180">操作</th>
								</tr>
							</tfoot>
						</table>
						<div class="table-actions">
							<button type="submit" class="btn btn-primary btn-sm js-ajax-submit">{:lang('SORT')}</button>
						</div>
					</form>

			</div>
		</div>
	</div>
</block>
<block name="script">

	<script src="__STATIC__/js/admin.js"></script>

</block>